package com.lavegue.dao;

import java.util.List;

import com.lavegue.common.BaseDao;
import com.lavegue.common.Page;
import com.lavegue.model.BisGroup;
import com.lavegue.model.Company;

public interface CompanyDao extends BaseDao<Company, Integer>{

	/**
	 * 根据查询所有公司
	 * @return
	 */
	public List<Company> findByCompany();
	
	/**
	 * 根据公司名称或者ID查询
	 * @return
	 */
	public Company findCompanyByName(String companyName,Integer companyId);
	
	
	//根据公司名称查询
	 public Page<Company> getAllCompanyByName(int pageNo,int pageSize,String name);
	
	
}
